Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Open311 updates from being sent out of order #5298

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nephila-nacrea
Copy link
Contributor

@nephila-nacrea nephila-nacrea commented Dec 11, 2024

Updates are selected in random order but some cobrands/APIs (e.g. Northumberland/Alloy) do not know how to handle updates in order their end, so an earlier update may overwrite a later one.

This change checks that an update is not sent until earlier updates for that problem are sent.

Fixes https://github.com/mysociety/societyworks/issues/4640.

[skip changelog]

@nephila-nacrea nephila-nacrea self-assigned this Dec 11, 2024
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.42%. Comparing base (fbbc68c) to head (8194dcb).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5298   +/-   ##
=======================================
  Coverage   82.42%   82.42%           
=======================================
  Files         415      415           
  Lines       32837    32842    +5     
  Branches     5265     5266    +1     
=======================================
+ Hits        27065    27070    +5     
  Misses       4216     4216           
  Partials     1556     1556           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nephila-nacrea nephila-nacrea marked this pull request as ready for review December 12, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant